<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>教学班管理</title>
		<!-- Bootstrap Styles-->
		<link href="../../css/bootstrap/bootstrap.css" rel="stylesheet" />
		<!-- FontAwesome Styles-->
		<link href="../../css/font-awesome.css" rel="stylesheet" />
		<!-- Morris Chart Styles-->

		<!-- Custom Styles-->
		<link href="../../css/custom-styles.css" rel="stylesheet" />
		<!-- Google Fonts-->
		<link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />
		<!-- TABLE STYLES-->
		<link href="../../js/dataTables/dataTables.bootstrap.css" rel="stylesheet" />
	</head>

	<body>
		<div id="wrapper">
			<nav class="navbar navbar-default top-navbar" role="navigation">
				<div class="navbar-header">
					<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".sidebar-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
					<a class="navbar-brand" href="tea_course_index.html">题库与考试</a>
				</div>

				<ul class="nav navbar-top-links navbar-right">

					<li class="dropdown">
						<a class="dropdown-toggle" data-toggle="dropdown" href="#" aria-expanded="false">
							<i class="fa fa-user fa-fw"></i> <i class="fa fa-caret-down"></i>
						</a>
						<ul class="dropdown-menu dropdown-user">
							<li>
								<a href="../student/stu_person_index.html"><i class="fa fa-user fa-fw"></i> 个人中心</a>
							</li>
							<li class="divider"></li>
							<li>
								<a href="../../login.html"><i class="fa fa-sign-out fa-fw"></i> 退出登录</a>
							</li>
						</ul>
						<!-- /.dropdown-user -->
					</li>
					<!-- /.dropdown -->
				</ul>

			</nav>
			<!--/. NAV TOP  -->
			<nav class="navbar-default navbar-side" role="navigation">
				<div class="sidebar-collapse">
					<ul class="nav" id="main-menu">

						<li>
							<a href="tea_course_index.html"><i class="fa fa-dashboard"></i> 课程管理</a>
						</li>
						<li>
							<a class="active-menu" href="tea_class_index.html"><i class="fa fa-desktop"></i> 教学班管理</a>
						</li>
						<li>
							<a href="tea_kpoint_index.html"><i class="fa fa-bar-chart-o"></i> 知识点管理</a>
						</li>
						<li>
							<a href="#"><i class="fa fa-qrcode"></i> 题库管理<span class="fa arrow"></span></a>
							<ul class="nav nav-second-level">
								<li>
									<a href="tea_itbank_new_index.html">新建题库</a>
								</li>
								<li>
									<a href="tea_itbank_defend_index.html">维护题库</a>
								</li>
								<li>
									<a href="tea_itbank_browse_index.html">查看题库</a>
								</li>
							</ul>
						</li>
						<li>
							<a href="#"><i class="fa fa-sitemap"></i> 试卷管理<span class="fa arrow"></span></a>
							<ul class="nav nav-second-level">
								<li>
									<a href="tea_paper_new_index.html">创建试卷</a>
								</li>
								<li>
									<a href="tea_paper_browse_index.html">查看试卷列表</a>
								</li>
							</ul>
						</li>
						<li>
							<a href="#"><i class="fa fa-fw fa-file"></i> 考试管理<span class="fa arrow"></span></a>
							<ul class="nav nav-second-level">
								<li>
									<a href="tea_test_new_index.html">创建考试</a>
								</li>
								<li>
									<a href="tea_test_issue_index.html">发布考试</a>
								</li>
								<li>
									<a href="tea_test_alter_index.html">修改考试设置</a>
								</li>
								<li>
									<a href="tea_test_browse_index.html">查看考试情况</a>
								</li>
							</ul>
						</li>
					</ul>

				</div>

			</nav>
			<!-- /. NAV SIDE  -->
			<div id="page-wrapper">
				<div id="page-inner">
					<div class="row">
						<div class="col-md-12">
							<h1 class="page-header">
                            知识点管理 
                            <a href="#mymodal_3" role="button" data-toggle="modal"><div  style="display: inline;float: right;"><button type="button" class="btn btn-primary">+添加知识点</button></div></a>
                            
                        </h1>
						</div>
					</div>
					<!-- /. ROW  -->

					<div class="row">
						<div class="col-md-12">
							<!-- Advanced Tables -->
							<form id="kpointForm1">
								<div class="panel panel-default">
									<div class="panel-heading">
										知识点列表
									</div>
									<div class="panel-body">
										<div class="table-responsive">
											<table class="table table-striped table-bordered table-hover" id="dataTables-example">
												<thead>
													<tr>
														<th style="width: 100px;">#</th>
														<th style="width: 200px;" id="name">知识点名称</th>
														<th style="width: 400px;" id="course">所属课程</th>
														<th>操作</th>
													</tr>
												</thead>
												<tbody>
													<tr class="odd gradeX">
														<td>1</td>
														<td>二叉树</td>
														<td>算法与数据结构 测试数据</td>
														<td>

															<a href="#mymodal_1" role="button" data-toggle="modal">编辑信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">删除信息</a>
															<a href="#" role="button" >试卷管理</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">考试管理</a>
														</td>
													</tr>
													<tr class="even gradeC">
														<td>2</td>
														<td>计算机152</td>
														<td>恕园12-201</td>
														<td class="center">

															<a href="#mymodal_1" role="button" data-toggle="modal">编辑信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">删除信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">学生管理</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">考试管理</a>
														</td>
													</tr>
													<tr class="odd gradeA">
														<td>1</td>
														<td>计算机152</td>
														<td>恕园12-201</td>
														<td class="center">

															<a href="#mymodal_1" role="button" data-toggle="modal">编辑信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">删除信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">学生管理</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">考试管理</a>
														</td>
													</tr>
													<tr class="even gradeA">
														<td>1</td>
														<td>计算机152</td>
														<td>恕园12-201</td>
														<td class="center">

															<a href="#mymodal_1" role="button" data-toggle="modal">编辑信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">删除信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">学生管理</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">考试管理</a>
														</td>
													</tr>
													<tr class="odd gradeA">
														<td>1</td>
														<td>计算机152</td>
														<td>恕园12-201</td>
														<td class="center">

															<a href="#mymodal_1" role="button" data-toggle="modal">编辑信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">删除信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">学生管理</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">考试管理</a>
														</td>
													</tr>
													<tr class="even gradeA">
														<td>1</td>
														<td>计算机152</td>
														<td>恕园12-201</td>
														<td class="center">

															<a href="#mymodal_1" role="button" data-toggle="modal">编辑信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">删除信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">学生管理</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">考试管理</a>
														</td>
													</tr>
													<tr class="gradeA">
														<td>1</td>
														<td>计算机152</td>
														<td>恕园12-201</td>
														<td class="center">

															<a href="#mymodal_1" role="button" data-toggle="modal">编辑信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">删除信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">学生管理</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">考试管理</a>
														</td>
													</tr>
													<tr class="gradeA">
														<td>1</td>
														<td>计算机152</td>
														<td>恕园12-201</td>
														<td class="center">

															<a href="#mymodal_1" role="button" data-toggle="modal">编辑信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">删除信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">学生管理</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">考试管理</a>
														</td>
													</tr>
													<tr class="gradeA">
														<td>1</td>
														<td>计算机152</td>
														<td>恕园12-201</td>
														<td class="center">

															<a href="#mymodal_1" role="button" data-toggle="modal">编辑信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">删除信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">学生管理</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">考试管理</a>
														</td>
													</tr>
													<tr class="gradeA">
														<td>1</td>
														<td>计算机152</td>
														<td>恕园12-201</td>
														<td class="center">

															<a href="#mymodal_1" role="button" data-toggle="modal">编辑信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">删除信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">学生管理</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">考试管理</a>
														</td>
													</tr>
													<tr class="gradeA">
														<td>1</td>
														<td>计算机152</td>
														<td>恕园12-201</td>
														<td class="center">

															<a href="#mymodal_1" role="button" data-toggle="modal">编辑信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">删除信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">学生管理</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">考试管理</a>
														</td>
													</tr>
													<tr class="gradeA">
														<td>1</td>
														<td>计算机152</td>
														<td>恕园12-201</td>
														<td class="center">

															<a href="#mymodal_1" role="button" data-toggle="modal">编辑信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">删除信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">学生管理</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">考试管理</a>
														</td>
													</tr>
													<tr class="gradeA">
														<td>1</td>
														<td>计算机152</td>
														<td>恕园12-201</td>
														<td class="center">

															<a href="#mymodal_1" role="button" data-toggle="modal">编辑信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">删除信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">学生管理</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">考试管理</a>
														</td>
													</tr>
													<tr class="gradeA">
														<td>1</td>
														<td>计算机152</td>
														<td>恕园12-201</td>
														<td class="center">

															<a href="#mymodal_1" role="button" data-toggle="modal">编辑信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">删除信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">学生管理</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">考试管理</a>
														</td>
													</tr>
													<tr class="gradeA">
														<td>1</td>
														<td>计算机152</td>
														<td>恕园12-201</td>
														<td class="center">

															<a href="#mymodal_1" role="button" data-toggle="modal">编辑信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">删除信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">学生管理</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">考试管理</a>
														</td>
													</tr>
													<tr class="gradeA">
														<td>1</td>
														<td>计算机152</td>
														<td>恕园12-201</td>
														<td class="center">

															<a href="#mymodal_1" role="button" data-toggle="modal">编辑信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">删除信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">学生管理</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">考试管理</a>
														</td>
													</tr>
													<tr class="gradeA">
														<td>1</td>
														<td>计算机152</td>
														<td>恕园12-201</td>
														<td class="center">

															<a href="#mymodal_1" role="button" data-toggle="modal">编辑信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">删除信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">学生管理</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">考试管理</a>
														</td>
													</tr>
													<tr class="gradeA">
														<td>1</td>
														<td>计算机152</td>
														<td>恕园12-201</td>
														<td class="center">

															<a href="#mymodal_1" role="button" data-toggle="modal">编辑信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">删除信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">学生管理</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">考试管理</a>
														</td>
													</tr>
													<tr class="gradeA">
														<td>1</td>
														<td>计算机152</td>
														<td>恕园12-201</td>
														<td class="center">

															<a href="#mymodal_1" role="button" data-toggle="modal">编辑信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">删除信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">学生管理</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">考试管理</a>
														</td>
													</tr>
													<tr class="gradeA">
														<td>1</td>
														<td>计算机152</td>
														<td>恕园12-201</td>
														<td class="center">

															<a href="#mymodal_1" role="button" data-toggle="modal">编辑信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">删除信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">学生管理</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">考试管理</a>
														</td>
													</tr>
													<tr class="gradeA">
														<td>1</td>
														<td>计算机152</td>
														<td>恕园12-201</td>
														<td class="center">

															<a href="#mymodal_1" role="button" data-toggle="modal">编辑信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">删除信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">学生管理</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">考试管理</a>
														</td>
													</tr>
													<tr class="gradeA">
														<td>1</td>
														<td>计算机152</td>
														<td>恕园12-201</td>
														<td class="center">

															<a href="#mymodal_1" role="button" data-toggle="modal">编辑信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">删除信息</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">学生管理</a>
															<a href="#mymodal_2" role="button" data-toggle="modal">考试管理</a>
														</td>
													</tr>

												</tbody>
											</table>
										</div>

									</div>
								</div>
							<!--End Advanced Tables -->
							</form>
						</div>
					</div>
					<!-- /. ROW  -->
				</div>
				<!-- /. PAGE INNER  -->

			</div>
			<!-- 模态框1  -->

			<div class="modal fade" id="mymodal_1" tabindex="-1" role="dialog" aria-labelledby="myModelLabel" aria-hidden="true">
				<div class="modal-dialog">
					<form class="modal-content" id="couseForm1" method="get">
						<div class="modal-header">
							<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
								&times;
							</button>
							<h4 class="modal-title" id="myModal_1Label">
								修改信息
							</h4>
						</div>
						<div class="modal-body">
							<div class="col-sm-10">
								<label for="courseID1" class="col-sm-2 control-label">课程ID</label>
								<label>
									<input type="text" class="form-control" id="courseID1" placeholder="输入课程ID"/>
								</label>
							</div>
							<label for="kpointName1" class="col-sm-2 control-label">知识点名称</label>
							<div class="col-sm-10">
								<label>
									<input type="text" class="form-control" id="kpointName1" placeholder="输入知识点名称"/>
								</label>
							</div>
						</div>
						<div class="modal-footer">
							<button type="button" class="btn btn-default" data-dismiss="modal">关闭
                            </button>
							<button type="button" class="btn btn-primary">
								提交更改
							</button>
						</div>
					</form>
					<!-- /.modal-content -->
				</div>
				<!-- /.modal -->
			</div>
			<div class="modal fade" id="mymodal_2" tabindex="-1" role="dialog" aria-labelledby="myModelLabel" aria-hidden="true">
				<div class="modal-dialog">
					<form class="modal-content" id="courseForm2">
						<div class="modal-header">
							<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
								&times;
							</button>
							<h4 class="modal-title" id="myModal_2Label">
								是否删除?
							</h4>
						</div>
						<div class="modal-body">
							<div class="col-sm-10">
								<label for="courseID2" class="col-sm-2 control-label">课程ID</label>
								<label>
									<input type="text" class="form-control" id="courseID2" placeholder="输入课程ID"/>
								</label>
							</div>
							<label for="kpointName2" class="col-sm-2 control-label">知识点名称</label>
							<div class="col-sm-10">
								<label>
									<input type="text" class="form-control" id="kpointName2" placeholder="输入知识点名称"/>
								</label>
							</div>?
						</div>
						<div class="modal-footer">
							<button type="button" class="btn btn-default" data-dismiss="modal">关闭
                            </button>
							<button type="button" class="btn btn-danger">
									删除
								</button>
						</div>
					</form>
					<!-- /.modal-content -->
				</div>
				<!-- /.modal -->
			</div>
			<!-- 模态框3 -->
			<div class="modal fade" id="mymodal_3" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
				<div class="modal-dialog">
					<form class="modal-content" id="courseForm3" method="get">
						<div class="modal-header">
							<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
								&times;
							</button>
							<h4 class="modal-title" id="myModal_3Label">
								添加班级
							</h4>
						</div>
						<div class="modal-body">
							<div class="col-sm-10">
								<label for="courseName" class="col-sm-2 control-label">课程名称</label>
								<label>
									<input type="text" class="form-control" id="courseName" placeholder="输入课程名称"/>
								</label>
							</div>
							<label for="kpointName" class="col-sm-2 control-label">知识点名称</label>
							<div class="col-sm-10">
								<label>
									<input type="text" class="form-control" id="kpointName" placeholder="输入知识点名称"/>
								</label>
							</div>
						</div>
						<div class="modal-footer">
							<button type="button" class="btn btn-default" data-dismiss="modal">关闭
				            </button>
							<button type="button" class="btn btn-primary" id="addKpoint">
								添加知识点
							</button>
						</div>
					</form>
					<!-- /.modal-content -->
				</div>
				<!-- /.modal -->
			</div>

			<!-- /. PAGE WRAPPER  -->
			<!-- /. WRAPPER  -->
			<!-- JS Scripts-->
			<!-- jQuery Js -->
			<script src="../../js/jquery-1.10.2.js"></script>
			<!-- Bootstrap Js -->
			<script src="../../js/bootstrap.min.js"></script>
			<!-- Metis Menu Js -->
			<script src="../../js/jquery.metisMenu.js"></script>
			<!-- DATA TABLE SCRIPTS -->
			<script src="../../js/dataTables/jquery.dataTables.js"></script>
			<script src="../../js/dataTables/dataTables.bootstrap.js"></script>
			<script src="../../js/jquerysession.js"></script>
			<script>
                $(document).ready(function() {
                    $('#dataTables-example').dataTable();
                });
			</script>

			<!-- 页面用户名校验 -->
			<script>
                $(document).ready(function () {
                    $('#dataTables-example').dataTable();

                    if ($.session.get('userid') == null) {
                        alert("请先登录！！！");
                        window.location.href = '/login.html';
                    } else {
                        if ($.session.get('usertype') != 1) {
                            alert("您没有访问这个页面的权限！！！");
                            window.location.href = '/login.html';
                        }
                    }
                })
			</script>
		</div>
	</body>
</html>